import request from '@/utils/request'

// 查询查询延迟测试列表
export function listLag(query) {
  return request({
    url: '/system/lag/list',
    method: 'get',
    params: query
  })
}

// 查询查询延迟测试详细
export function getLag(uuid) {
  return request({
    url: '/system/lag/' + uuid,
    method: 'get'
  })
}

// 新增查询延迟测试
export function addLag(data) {
  return request({
    url: '/system/lag',
    method: 'post',
    data: data
  })
}

// 修改查询延迟测试
export function updateLag(data) {
  return request({
    url: '/system/lag',
    method: 'put',
    data: data
  })
}

// 删除查询延迟测试
export function delLag(uuid) {
  return request({
    url: '/system/lag/' + uuid,
    method: 'delete'
  })
}
